<HTML>
<HEAD>
<TITLE>Bug 1184673</TITLE>
</HEAD>
<script>
function DoThePrint() {
  window.print();
  window.close();
}
</script>
<BODY onload="DoThePrint()">
<img src="click_me.png" />
</BODY>
</HTML>